/* eslint-disable */
// 接口信息, 生成请求方法
// 引入 get方法, post方法
import { get, post, put, del } from './index'

export const login = (params, headers) => post("/user/login/", params, headers)
export const getBookList = (params, headers) => get("app_models/books/", params, headers)
export const addBook = (params, headers) => post("app_models/books/", params, headers)
export const editBook = (params, headers) => post("app_models/update/", params, headers)
export const delBook = (params, headers) => post("app_models/del/", params, headers)